{include file="merchant/common/search_owner.tpl"}
<table class="tlist" style="width:100%; margin-top:20px;">
	<tr>
		<th>交易流水号</th>
		<th>交易时间</th>
		<th>交易类别</th>
		<th>卡号</th>
		<th>业主姓名</th>
		<th>交易前余额</th>
		<th>发生交易额</th>
		<th>交易后余额</th>
		<th>操作</th>
	</tr>
	{foreach from=$data item=v}
	<tr>
		<td style="width:60px;">{$v.pay_id}</td>
		<td>{$v.cost_time}</td>
		<td>{if $v.cost_type eq 1}增加积分{elseif $v.cost_type eq 2}扣减积分{/if}</td>
		<td>{$v.owner_card}</td>
		<td>{$v.owner_name}</td>
		<td class="color_green font_w_b">{$v.cost_shop_before_money}</td>
		<td class="color_ry font_w_b">{$v.cost_money_t}</td>
		<td class="color_green font_w_b">{$v.cost_shop_after_money}</td>
		<td>
			{if $v.is_cancel eq 0}
			<a href="javascript:void(0);" onclick="cancelShow({$v.c_id},{$v.cost_money_t})" class="g_a">
		     	<span class="g_b">
		        	<span class="g_c">&nbsp;</span>
			    	<span class="g_d">撤销交易</span>
			    </span>
			</a>
			{else}
			已撤销
			{/if}
		</td>
	</tr>
	{/foreach}
</table>
<div class="win_cancel">
	<div class="win_title"><span>撤销交易</span><img onclick="$('.win_cancel').hide()" src="/images/x.gif" /></div>
	<table align="center">
		<tr>
			<td>
				本次撤销积分：<span id="sp_cancel_jifen"></span>
			</td>
		</tr>
		<tr>
			<td>
				请输入商户账户密码
			</td>
		</tr>
		<tr>
			<td>
				<input type="hidden" id="hidCid" />
				<input type="password" class="input_c" style="width:200px;" name="txt_pwd" id="txt_pwd" />
			</td>
		</tr>
		<tr>
			<td align="center">
				<div class="btn_green" style="margin-top:20px;"><input type="button" onclick="cancelOp()" value="确  定" /></div>
			</td>
		</tr>
	</table>
</div>